//
//  UIDevice+Lc.h
//  18Birdies
//
//  Created by ChenChao on 2017/4/26.
//  Copyright © 2017年 Lc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, UIDeviceScreenSize) {
  UIDeviceScreenSizeUseLessInch = 0,
  // iphone 4 4s
  UIDeviceScreenSize35Inch,
  // iphone 5 5s 5c se
  UIDeviceScreenSize40Inch,
  // iphone 6 6s 7 8
  UIDeviceScreenSize47Inch,
  // iphone 6p 6sp 7p  8p
  UIDeviceScreenSize55Inch,
  // x xs
  UIDeviceScreenSize58Inch,
  // xs max (xr和 xs max 像素尺寸一致，只是倍图区分，统一用一种UI SIZE 枚举区分)
  UIDeviceScreenSize65Inch,
};

@interface UIDevice (Lc)
+ (UIInterfaceOrientation)deviceOrientation;
+ (BOOL)isPortrait;
+ (BOOL)isLandscape;
+ (UIDeviceScreenSize)screenSize;
+ (BOOL)isOtherUISize;
+ (BOOL)isBangUISize;
+ (BOOL)is4UISize;
+ (BOOL)is5UISize;
+ (BOOL)isSmallUISize;

@end
